package com.pug.user.dto;



import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author RenGaoshuai
 * @date 2023/5/9 15:11
 * @description
 */
@Data
public class AccessLog1ReqDTO implements Serializable {
    private static final long serialVersionUID = -8832179906815825665L;
    //请求时httpStatusCode代码，如：200,400,404等
    @ApiModelProperty(name = "响应码")
    private String statusCode;

    @ApiModelProperty(name = "请求IP")
    private String clientIp;

    @ApiModelProperty(name = "请求url")
    private String url;

    @ApiModelProperty(name = "请求方式，post,get")
    private String method;

    @ApiModelProperty(name = "客户id，对应请求头中的appToken")
    private String clientId;

    @ApiModelProperty(name = "请求头json数据")
    private String headersJsonData;

    @ApiModelProperty(name = "请求参数param的json数据")
    private String paramsJsonData;

    @ApiModelProperty(name = "请求参数json数据")
    private String requestJsonData;

    @ApiModelProperty(name = "响应参数json数据")
    private String responseJsonData;

    @ApiModelProperty(name = "耗时,单位ms")
    private Long timeConsuming;

}
